﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace MOMKeLABS.Constants
{
    public class ApplicationConstants
    {
        public const string VERSION = "0.0.1";

        public const string NAME = "MONKeLABS";

        public static string GetLoginURL()
        {
            if (System.Windows.Browser.HtmlPage.Document.DocumentUri.Host.Contains(Constants.ServiceConstants.LOCAL_SERVER_NAME))
            {
                return LOGIN_URL_DEV;
            }
            else
            {
                return LOGIN_URL_PUP;
            }
        }

        private const string LOGIN_URL_PUP = "http://lab.monkelabs.com/php/OpenID/google_auth.php";
        private const string LOGIN_URL_DEV = "http://localhost/lab/php/OpenID/google_auth.php";

    }
}
